package cn.iocoder.yudao.module.javainfo.controller.admin.pet.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 宠物 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PetRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9405")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "宠物名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("宠物名称")
    private String petName;

    @Schema(description = "宠物归属用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "宠物归属用户ID", converter = DictConvert.class)
    private Long ownerUserId;

    @Schema(description = "宠物归属用户", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "宠物归属用户", converter = DictConvert.class)
    private String ownerUserName;

    @Schema(description = "宠物照片地址", example = "https://www.iocoder.cn")
    @ExcelProperty("宠物照片地址")
    private String photoUrl;

    @Schema(description = "宠物头像地址", example = "https://www.iocoder.cn")
    @ExcelProperty("宠物头像地址")
    private String avatarUrl;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
